package cc.mrbird.febs.power.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author MrBird
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BlacklistInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "blacklistId", type = IdType.AUTO)
    private Long blacklistId;

    /**
     * 禁止访问的IP地址或域名
     */
    @TableField("iPorDomain")
    private String iPorDomain;

    /**
     * 开始时间
     */
    @TableField("startTime")
    private LocalDate startTime;

    /**
     * 失效时间
     */
    @TableField("endTime")
    private LocalDate endTime;


}
